package Java_3_1;

public class Java_3_1_1 {

	public static void main(String[] args) {
		int i=1998;
		 while(i<=2008) {
			 if(i%4==0 && i%100!=0 || i%400==0) {
				 System.out.println(i);
			 }
			 ++i;
		 }
	}

}
